#include "./basedecoder.h"

using namespace MiniUI;

BaseDecoder::BaseDecoder(BaseIOStub* iostub)
: m_iostub(iostub)
{
    iostub->AddRef();
}

BaseDecoder::~BaseDecoder()
{
    m_iostub->Release();
}

bool BaseDecoder::ReadImageInfo(DecodeFormat* deco)
{
    return false;
}

bool BaseDecoder::ReadImageFrame(DecodeFormat* deco)
{
    return false;
}

bool BaseDecoder::FinishDecode(DecodeFormat* deco)
{
    return false;
}